﻿#region << 版 本 注 释 >>
/*----------------------------------------------------------------
// Copyright (C) 2021 kingerrobot
// 版权所有。 
//
// 文件名：IWarehousingService
// 文件功能描述：
//
// 创建者：名字 (zzl)
// 时间：2021/12/14 14:31:49
//
// 修改人：
// 时间：
// 修改说明：
// 版本：V1.0.0
//----------------------------------------------------------------*/
#endregion
namespace KingerRobot.MexicoSailunMDC.Spi;
/// <summary>
/// 入库服务
/// </summary>
public interface IWarehousingService
{
    /// <summary>
    /// 入库任务创建
    /// </summary>
    void CreateTask();
    /// <summary>
    /// 入库任务执行
    /// </summary>
    /// <param name="taskNo">任务编号</param>
    int ExecuteTask(int taskNo,long locId);
    /// <summary>
    /// 入库任务完成
    /// </summary>
    /// <param name="taskNo">任务号</param>
    int FinishTask(int taskNo, long locId);
    /// <summary>
    /// 入库目标货位有料之后触发
    /// </summary>
    /// <param name="taskNo">任务号</param>
    /// <returns></returns>
    long CreateHaveTask(int taskNo);
}
/// <summary>
/// 下传堆垛机信息
/// </summary>
public class BizStackerBean
{
    /// <summary>
    /// A叉源位上位机X坐标编号
    /// </summary>
    public int? takeA_X { get; set; }
    /// <summary>
    /// A叉源位上位机Y坐标编号
    /// </summary>
    public int? takeA_Y { get; set; }
    /// <summary>
    /// A叉源位上位机Z坐标编号
    /// </summary>
    public int? takeA_Z { get; set; }
    /// <summary>
    /// A叉源位上位机T坐标编号
    /// </summary>
    public int? takeA_T { get; set; }
    /// <summary>
    /// A叉目标位上位机X坐标编号
    /// </summary>
    public int? targetA_X { get; set; }
    /// <summary>
    /// A叉目标位上位机Y坐标编号
    /// </summary>
    public int? targetA_Y { get; set; }
    /// <summary>
    /// A叉目标位上位机Z坐标编号
    /// </summary>
    public int? targetA_Z { get; set; }
    /// <summary>
    /// A叉目标位上位机T坐标编号
    /// </summary>
    public int? targetA_T { get; set; }
    /// <summary>
    /// A叉源位上位机X坐标编号
    /// </summary>
    public int? n_takeA_X { get; set; }
    /// <summary>
    /// A叉源位上位机Y坐标编号
    /// </summary>
    public int? n_takeA_Y { get; set; }
    /// <summary>
    /// A叉源位上位机Z坐标编号
    /// </summary>
    public int? n_takeA_Z { get; set; }
    /// <summary>
    /// A叉源位上位机T坐标编号
    /// </summary>
    public int? n_takeA_T { get; set; }
    /// <summary>
    /// A叉目标位上位机X坐标编号
    /// </summary>
    public int? n_targetA_X { get; set; }
    /// <summary>
    /// A叉目标位上位机Y坐标编号
    /// </summary>
    public int? n_targetA_Y { get; set; }
    /// <summary>
    /// A叉目标位上位机Z坐标编号
    /// </summary>
    public int? n_targetA_Z { get; set; }
    /// <summary>
    /// A叉目标位上位机T坐标编号
    /// </summary>
    public int? n_targetA_T { get; set; }
    /// <summary>
    /// B叉源位上位机X坐标编号
    /// </summary>
    public int? takeB_X { get; set; }
    /// <summary>
    /// B叉源位上位机Y坐标编号
    /// </summary>
    public int? takeB_Y { get; set; }
    /// <summary>
    /// B叉源位上位机Z坐标编号
    /// </summary>
    public int? takeB_Z { get; set; }
    /// <summary>
    /// B叉源位上位机T坐标编号
    /// </summary>
    public int? takeB_T { get; set; }
    /// <summary>
    /// B叉目标位上位机X坐标编号
    /// </summary>
    public int? targetB_X { get; set; }
    /// <summary>
    /// B叉目标位上位机Y坐标编号
    /// </summary>
    public int? targetB_Y { get; set; }
    /// <summary>
    /// B叉目标位上位机Z坐标编号
    /// </summary>
    public int? targetB_Z { get; set; }
    /// <summary>
    /// B叉目标位上位机T坐标编号
    /// </summary>
    public int? targetB_T { get; set; }
    /// <summary>
    /// B叉源位上位机X坐标编号
    /// </summary>
    public int? n_takeB_X { get; set; }
    /// <summary>
    /// B叉源位上位机Y坐标编号
    /// </summary>
    public int? n_takeB_Y { get; set; }
    /// <summary>
    /// B叉源位上位机Z坐标编号
    /// </summary>
    public int? n_takeB_Z { get; set; }
    /// <summary>
    /// B叉源位上位机T坐标编号
    /// </summary>
    public int? n_takeB_T { get; set; }
    /// <summary>
    /// B叉目标位上位机X坐标编号
    /// </summary>
    public int? n_targetB_X { get; set; }
    /// <summary>
    /// B叉目标位上位机Y坐标编号
    /// </summary>
    public int? n_targetB_Y { get; set; }
    /// <summary>
    /// B叉目标位上位机Z坐标编号
    /// </summary>
    public int? n_targetB_Z { get; set; }
    /// <summary>
    /// B叉目标位上位机T坐标编号
    /// </summary>
    public int? n_targetB_T { get; set; }
    /// <summary>
    /// A叉任务号
    /// </summary>
    public int? taskA_No { get; set; }
    /// <summary>
    /// B叉任务号
    /// </summary>
    public int? taskB_No { get; set; }
    //单双叉选择 1双叉 2A叉 3B叉
    public int? curFlag { get; set; }
}